<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome to Tetheraid - Verify & Support Our Mission</title>
    <style>
    /* Main Styles */
    body {
      font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      color: #333333;
      margin: 0;
      padding: 0;
      background-color: #f8f9fa;
    }

    /* Container */
    .container {
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Header */
    .header {
      text-align: center;
      padding: 20px 0;
      border-bottom: 1px solid #eaeaea;
    }

    .logo {
      max-width: 200px;
      height: auto;
    }

    /* Content */
    .content {
      padding: 20px;
    }

    /* Verification Code Box */
    .verification-code {
      background-color: #f8f9fa;
      border: 1px dashed #dee2e6;
      padding: 15px;
      text-align: center;
      margin: 25px 0;
      border-radius: 4px;
      font-size: 28px;
      font-weight: bold;
      color: #2c3e50;
      letter-spacing: 4px;
      font-family: 'Courier New', monospace;
    }

    /* Button */
    .btn {
      display: inline-block;
      padding: 12px 30px;
      background: linear-gradient(135deg, #1a73e8, #0d47a1);
      color: white !important;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      margin: 15px 0;
      text-align: center;
      font-size: 16px;
    }

    .btn-donate {
      background: linear-gradient(135deg, #4CAF50, #2E7D32);
    }

    /* Donation Section */
    .donation-section {
      background-color: #f0f4f8;
      padding: 25px;
      border-radius: 6px;
      margin: 30px 0;
      text-align: center;
      border-left: 4px solid #4CAF50;
    }

    .crypto-icons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 20px 0;
    }

    .crypto-icon {
      width: 40px;
      height: 40px;
      transition: transform 0.3s;
    }

    .crypto-icon:hover {
      transform: scale(1.1);
    }

    /* Impact Stats */
    .impact-stats {
      display: flex;
      justify-content: space-around;
      margin: 25px 0;
      text-align: center;
    }

    .stat {
      padding: 10px;
    }

    .stat-number {
      font-size: 24px;
      font-weight: bold;
      color: #1a73e8;
    }

    /* Footer */
    .footer {
      text-align: center;
      padding: 20px;
      font-size: 13px;
      color: #6c757d;
      border-top: 1px solid #eaeaea;
      line-height: 1.5;
    }

    /* Responsive Design */
    @media screen and (max-width: 600px) {
      .container {
        width: 100%;
        border-radius: 0;
      }

      .verification-code {
        font-size: 24px;
        padding: 12px;
      }

      .impact-stats {
        flex-direction: column;
      }
    }
  </style>
</head>

<body>
<div class="container">
    <!-- Header -->
    <div class="header">
        <h1 style="color: #1a73e8; margin-bottom: 5px;">Welcome to Tetheraid</h1>
        <p style="margin-top: 0; color: #6c757d; font-size: 18px;">Where Crypto Meets Humanitarian Action</p>
    </div>

    <!-- Content -->
    <div class="content">
        <p>Dear <span th:text="${username}">User</span>,</p>

        <p>Thank you for joining <strong>Tetheraid</strong> - a platform where cryptocurrency donations directly transform
            lives. Your participation helps us deliver clean water, education, and medical supplies to communities in need.
        </p>

        <p>Please use this verification code to activate your account:</p>

        <div class="verification-code" th:text="${verificationCode}">ABCDEF</div>

        <p>This code expires in <strong th:text="${expirationTime}">5</strong> minutes.</p>

        <div class="donation-section">
            <h3 style="color: #2E7D32; margin-top: 0;">Your Crypto Can Change Lives</h3>
            <p>Tetheraid converts cryptocurrency donations into real-world impact with complete transparency on blockchain.
            </p>

            <div class="impact-stats">
                <div class="stat">
                    <div class="stat-number">$2.4M+</div>
                    <div>Donated</div>
                </div>
                <div class="stat">
                    <div class="stat-number">57K</div>
                    <div>Lives Impacted</div>
                </div>
                <div class="stat">
                    <div class="stat-number">12</div>
                    <div>Countries</div>
                </div>
            </div>

            <p style="margin-bottom: 20px;">100% of donations go directly to vetted humanitarian projects.</p>
        </div>

        <p>If you didn't request this verification, please secure your account by contacting .</p>

        <p>Together, we're building a better world - one crypto donation at a time.</p>

        <p>With gratitude,<br /><strong>The Tetheraid Team</strong></p>
    </div>

    <!-- Footer -->
    <div class="footer">
        <p>© 2025 Tetheraid Foundation. All donations are tax-deductible in applicable jurisdictions.</p>
        <p>Tetheraid is a registered 501(c)(3) non-profit organization. </p>
    </div>
</div>
</body>

</html>